<?php
include('class.php');
session_start();
$db=new DB();
$db->fireStaffFromStaff($_SESSION['deleteid']);
$db->FireStaffFromBirth($_SESSION['deleteid']);
$db->close();
echo "<script type='text/javascript' language='javascript'>
              alert('Delete Successfully!');
             </script>";
Header('Refresh: 0.01;url=Namelist.php');
 
?>
